var reqbody = $request.body;
//var reqbodyobj = {"score":78400,"id":"107403","enc":"c46ed0b39af257664543122154957a63"};
//var reqbody = JSON.stringify(reqbodyobj);
var str = "score\":"+String(selectFrom(81040,132456))+",";
var str2 = "score\":210482,";
var newstr = reqbody.replace(/score\":\d+,/g,str);

//$notification.post("大标题","子标题",newstr);
//$done({})
$done({body:newstr})

function selectFrom(startNumber, endNumber) {
    var choice = endNumber - startNumber + 1;
    return Math.floor(Math.random() * choice + startNumber)
}
